<?php

namespace App\Modules\Admin\Http\Controllers\Water\Member;

use App\Modules\Admin\Http\Controllers\BaseController;
use App\Modules\Admin\Http\Requests\Water\UsersCardRequest;
use App\Modules\Admin\Services\Water\Member\UsersCardService;
use Illuminate\Http\JsonResponse;

class UsersCardController extends BaseController
{
    public function __construct(UsersCardService $service)
    {
        $this->service = $service;
    }
    public function create(UsersCardRequest $request): JsonResponse
    {
        return $this->createService($request);
    }
    public function update(UsersCardRequest $request): JsonResponse
    {
        return $this->updateService($request);
    }
}
